package com.zzyl.serve.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.zzyl.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@ApiModel("预约信息")
public class ReservationDto extends BaseEntity {
    @ApiModelProperty(value = "手机号")
    private String mobile;

    @ApiModelProperty(value = "预约人")
    private String name;

    @ApiModelProperty(value = "预约时间,格式：yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime time;

    @ApiModelProperty(value = "预约类型  0为参观预约")
    private Integer type;

    @ApiModelProperty(value = "家人姓名（老人姓名）")
    private String visitor;

    /*@ApiModelProperty(value = "预约状态  0待报道  1已完成  2取消  3过期")
    //默认状态为0
    private Integer status = 0;*/

    /*//创建时间
    @ApiModelProperty(value = "创建时间,格式：yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime createTime;*/
}
